﻿namespace Traffic.Entity;

/// <summary>
/// 订单明细
/// </summary>
public partial class OrderListInfo
{
    public int Id { get; set; }

    /// <summary>
    /// 对应OrderList.ID
    /// </summary>
    public int OrderId { get; set; }

    public int ContactId { get; set; }

    /// <summary>
    /// 票号
    /// </summary>
    public string? ReceiptNum { get; set; }

    /// <summary>
    /// 是否有购买保险
    /// </summary>
    public bool IsInsurance { get; set; }

    /// <summary>
    /// 保单号
    /// </summary>
    public string? InsuranceNo { get; set; }

    /// <summary>
    /// 保险单价
    /// </summary>
    public decimal InsurancePrice { get; set; }

    /// <summary>
    /// 真实姓名
    /// </summary>
    public string RealName { get; set; } = null!;

    /// <summary>
    /// 证件号码
    /// </summary>
    public string? CardNo { get; set; }

    /// <summary>
    /// 证件类型  身份证、军人证、学生证、港澳通行证、护照、残疾人证、其它
    /// </summary>
    public string? PapersType { get; set; }

    /// <summary>
    /// 联系电话
    /// </summary>
    public string? Mobile { get; set; }

    /// <summary>
    /// 票类型  全票、半票、免票，学生票，残疾军人票。
    /// </summary>
    public string? TicketType { get; set; }

    /// <summary>
    /// 接送价格
    /// </summary>
    public decimal PickupPrice { get; set; }

    /// <summary>
    /// 价格
    /// </summary>
    public decimal Price { get; set; }

    /// <summary>
    /// 个人总价
    /// </summary>
    public decimal TotalPrice { get; set; }

    /// <summary>
    /// 年龄段  大人，儿童，婴儿。
    /// </summary>
    public string? AgeType { get; set; }

    /// <summary>
    /// 打印内容
    /// </summary>
    public string? PrintInfo { get; set; }

    /// <summary>
    /// 打印次数
    /// </summary>
    public int PrintCount { get; set; }

    /// <summary>
    /// 打印状态   0：未打印   1：已打印    2：打印出错
    /// </summary>
    public int PrintState { get; set; }

    /// <summary>
    /// 打印时间
    /// </summary>
    public DateTime? PrintTime { get; set; }

    /// <summary>
    /// 状态 默认1正常 0：作废  1：正常
    /// </summary>
    public bool Status { get; set; }

    /// <summary>
    /// 南粤通票号ID
    /// </summary>
    public long? NanYueTicketId { get; set; }

    /// <summary>
    /// 南粤通订单号
    /// </summary>
    public string? NanYueOrderNum { get; set; }

    /// <summary>
    /// 空港巨点接口订单号
    /// </summary>
    public string? KongGangOrderNum { get; set; }

    /// <summary>
    /// 空港价格编号
    /// </summary>
    public string? KongGangPriceCode { get; set; }
}
